package com.liwen.web.controller.rest;


import com.liwen.api.vo.OrderVO;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class RestController {
    private Logger log = LoggerFactory.getLogger(this.getClass());

    @ResponseBody
    @GetMapping("/testRestException")
    public OrderVO testRestException() {
        OrderVO vo = null;
        vo.getName();
        return vo;
    }
}
